package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.News;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.qo.NewsQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yunan
 * @since 2023-04-13
 */
public interface INewsService extends IService<News> {

    Page<News> queryPage(NewsQuery qo);

    void updateViewNum(Long id, Long viewnum);
}
